-
Home
-
UpsellWP – WooCommerce Upsell and Related Products Offers
-
1.4.3
-
Code
-
Classes
- Cart
Total Complexity |
93 |
Dependencies |
9 |
Dependents |
4 |
Total lines |
457 |
Lines of code |
282 |
Logical lines of code |
179 |
Comment lines |
116 |
Methods |
12 |
Properties |
8 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getData() |
A |
40 |
14 |
57 |
addOffer() |
A |
40 |
14 |
57 |
isOfferApplicable() |
A |
45 |
13 |
40 |
getPricePerItem() |
A |
51 |
10 |
23 |
getBundledItems() |
A |
56 |
10 |
17 |
addProduct() |
S |
52 |
7 |
23 |
isProductApplicable() |
S |
54 |
7 |
21 |
getProductIds() |
S |
59 |
6 |
14 |
getAddedProducts() |
S |
61 |
5 |
12 |
getAppliedOffers() |
S |
61 |
5 |
12 |
hasProduct() |
S |
79 |
1 |
3 |
isOfferApplied() |
S |
78 |
1 |
3 |